/*******************************************************************************
 * Copyright (c) 2011 Grupo de Sistemas Inteligentes (GSI) - DIT UPM
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package es.upm.dit.gsi.eclipse.jadex.adfmanager.wizards;

/**
 * Class that represents a "parameter" for the parameter management in the AddEventWizardPage2 class
 * 
 * @author Jorge Valhondo Rama
 *
 */
public class EventParameter {
	
	String _name, _class, _description, _upDateRate, _transient, _evaluationMode;
	
	public EventParameter(String _name, String _class, String _description,
			String _upDateRate, String _transient, String _evaluationMode) {
		super();
		this._name = _name;
		this._class = _class;
		this._description = _description;
		this._upDateRate = _upDateRate;
		this._transient = _transient;
		this._evaluationMode = _evaluationMode;
	}
	
	public EventParameter(String[] content) {
		this(content[0],
				content[1],
				content[2],
				content[3],
				content[4],
				content[5]);
	}

	public String get_name() {
		return _name;
	}

	public String get_class() {
		return _class;
	}

	public String get_description() {
		return _description;
	}
	
	public String get_upDateRate() {
		return _upDateRate;
	}
	
	public String get_transient() {
		return _transient;
	}
	
	public String get_evaluationMode() {
		return _evaluationMode;
	}
	
	public String[] getText(){
		return new String[]{_name,_class,_description,_upDateRate,_transient,_evaluationMode};
	}
}
